package com.pentofab.payrollmanagement.dao.model;

public class Holiday {
	
	String date;
	String reason;
	boolean isNationalHoliday;
	
	
	public boolean isNationalHoliday() {
		return isNationalHoliday;
	}
	public void setNationalHoliday(boolean isNationalHoliday) {
		this.isNationalHoliday = isNationalHoliday;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	/**
	 * Constructs a <code>String</code> with all attributes
	 * in name = value format.
	 *
	 * @return a <code>String</code> representation 
	 * of this object.
	 */
	public String toString()
	{
	    final String TAB = "    ";
	    
	    String retValue = "";
	    
	    retValue = "Holiday ( "
	        + super.toString() + TAB
	        + "date = " + this.date + TAB
	        + "reason = " + this.reason + TAB
	        + "isNationalHoliday = " + this.isNationalHoliday + TAB
	        + " )";
	
	    return retValue;
	}
	
	
	

}
